using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class KeyboardFinger : MonoBehaviour
{
    // Start is called before the first frame update
    public Image[] images;
    public static KeyboardFinger Instance;
    void Awake()
    {
        Instance = this;
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public void ShowByIndex(int index)
    {
        for (int i = 0; i < images.Length; i++)
        {
            if(i == index)
            {
                images[i].color = Color.black;
            }
            else
            {
                images[i].color = Color.gray;
            }
        }
    }
}
